import Vue from 'vue'
import Router from 'vue-router'
import LoginForm from '../components/LoginForm'
import RegisterForm from '../components/RegisterForm'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', redirect: { name: 'login' } },
    { path: '/login', name: 'login', component: LoginForm },
    { path: '/register', name: 'register', component: RegisterForm }
  ]
})
